Skip to content

Add premoves against Maia#308

Merged
ashtonanderson merged 1 commit into
mainfrom
codex/maia-play-premoves
Jun 7, 2026
Merged

Add premoves against Maia#308
ashtonanderson merged 1 commit into
mainfrom
codex/maia-play-premoves

Conversation

@ashtonanderson

Copy link
Copy Markdown
Member

Summary

  • enable Chessground premove input during Maia's turn
  • validate queued premoves after Maia moves and execute legal ones with 0 recorded move time
  • keep clock state consistent for zero-time premoves and stagger premove sound playback

Review

  • Reviewed the premove diff for legality validation, clock accounting, and UI behavior; no blocking issues found.

Tests

  • npx tsc --noEmit
  • git diff --check -- src/components/Board/GameBoard.tsx src/components/Board/GameplayInterface.tsx src/contexts/PlayControllerContext.ts src/hooks/usePlayController/usePlayController.ts src/hooks/usePlayController/useVsMaiaController.ts src/types/play.ts

@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
maia-platform-frontend Ready Ready Preview, Comment Jun 7, 2026 6:26am

Request Review

@ashtonanderson ashtonanderson merged commit bcd1126 into main Jun 7, 2026
6 checks passed
@ashtonanderson ashtonanderson deleted the codex/maia-play-premoves branch June 7, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant